package com.bdilab.iot.dto.roleDto;

import com.bdilab.iot.model.Permission;
import com.bdilab.iot.model.Role;
import lombok.Data;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author WangNing
 * @version 1.0
 * @date 2020/8/1 21:31
 */
@Data
public class RoleWithPermission extends Role {

    Map<String, Map<String, List<Permission>>> permissions = new HashMap<>();

}
